package com.lujianfei.powersearch.adapter

import androidx.databinding.ObservableArrayList
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.lujianfei.powersearch.R
import com.lujianfei.powersearch.database.SearchItemModel
import com.lujianfei.powersearch.databinding.AdapterItemBinding

class SearchAdapter(items: ObservableArrayList<SearchItemModel>): CommonAdapter(items) {

    override fun onBindItem(binding: AdapterItemBinding?, item: SearchItemModel, position: Int) {
        super.onBindItem(binding, item, position)
        binding?.showLevel = true
    }
}